package edu.sias.question.domain.pojo;

import edu.sias.question.domain.dto.QuestionDTO;
import lombok.Data;

import java.util.List;

/**
 * @author ：songyu
 * @date ：
 * @description : 题目POJO类
 * @version: 1.0
 */
 public class Question {
	  private Integer id;
	  //题号编码
	  private String questionCode;
	  //课程
	  private String course;
	private Integer catalog;//目录
	private CourseAndCatalogId courseAndCatalogId;

	  //题型
	  private Integer questionType;
	  private Integer difficulty;
	  //具体题目
private String content;


	  private String remark;
	//是否精选，0普通，1精选相当于收藏
	  private Integer isClassic;


	  private String createTime;
	  private String updateTime;


	  private String updatedBy;
	  private String createdBy;

	  private String company;
	  private String skillPoll;
	  private String position;

	public Question() {
	}

	public Question(Integer id, String questionCode, String course, Integer catalog, CourseAndCatalogId courseAndCatalogId, Integer questionType, Integer difficulty, String content, String remark, Integer isClassic, String createTime, String updateTime, String updatedBy, String createdBy) {
		this.id = id;
		this.questionCode = questionCode;
		 this.course = course;
		this.catalog = catalog;
		this.courseAndCatalogId = courseAndCatalogId;
		this.questionType = questionType;
		this.difficulty = difficulty;
		this.content = content;
		this.remark = remark;
		this.isClassic = isClassic;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.updatedBy = updatedBy;
		this.createdBy = createdBy;
	}

	public Question(Integer id, String questionCode, String course, Integer catalog, CourseAndCatalogId courseAndCatalogId, Integer questionType, Integer difficulty, String content, String remark, Integer isClassic, String createTime, String updateTime, String updatedBy, String createdBy, String company, String skillPoll, String position) {
		this.id = id;
		this.questionCode = questionCode;
		this.course = course;
		this.catalog = catalog;
		this.courseAndCatalogId = courseAndCatalogId;
		this.questionType = questionType;
		this.difficulty = difficulty;
		this.content = content;
		this.remark = remark;
		this.isClassic = isClassic;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.updatedBy = updatedBy;
		this.createdBy = createdBy;
		this.company = company;
		this.skillPoll = skillPoll;
		this.position = position;
	}

	/**
	 * 获取
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return questionCode
	 */
	public String getQuestionCode() {
		return questionCode;
	}

	/**
	 * 设置
	 * @param questionCode
	 */
	public void setQuestionCode(String questionCode) {
		this.questionCode = questionCode;
	}

	/**
	 * 获取
	 * @return course
	 */
	public String getCourse() {
		return course;
	}

	/**
	 * 设置
	 * @param course
	 */
	public void setCourse(String course) {
		this.course = course;
	}

	/**
	 * 获取
	 * @return catalog
	 */
	public Integer getCatalog() {
		return catalog;
	}

	/**
	 * 设置
	 * @param catalog
	 */
	public void setCatalog(Integer catalog) {
		this.catalog = catalog;
	}

	/**
	 * 获取
	 * @return courseAndCatalogId
	 */
	public CourseAndCatalogId getCourseAndCatalogId() {
		return courseAndCatalogId;
	}

	/**
	 * 设置
	 * @param courseAndCatalogId
	 */
	public void setCourseAndCatalogId(CourseAndCatalogId courseAndCatalogId) {
		this.courseAndCatalogId = courseAndCatalogId;
	}

	/**
	 * 获取
	 * @return questionType
	 */
	public Integer getQuestionType() {
		return questionType;
	}

	/**
	 * 设置
	 * @param questionType
	 */
	public void setQuestionType(Integer questionType) {
		this.questionType = questionType;
	}

	/**
	 * 获取
	 * @return difficulty
	 */
	public Integer getDifficulty() {
		return difficulty;
	}

	/**
	 * 设置
	 * @param difficulty
	 */
	public void setDifficulty(Integer difficulty) {
		this.difficulty = difficulty;
	}

	/**
	 * 获取
	 * @return content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * 设置
	 * @param content
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * 获取
	 * @return remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * 设置
	 * @param remark
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 获取
	 * @return isClassic
	 */
	public Integer getIsClassic() {
		return isClassic;
	}

	/**
	 * 设置
	 * @param isClassic
	 */
	public void setIsClassic(Integer isClassic) {
		this.isClassic = isClassic;
	}

	/**
	 * 获取
	 * @return createTime
	 */
	public String getCreateTime() {
		return createTime;
	}

	/**
	 * 设置
	 * @param createTime
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取
	 * @return updateTime
	 */
	public String getUpdateTime() {
		return updateTime;
	}

	/**
	 * 设置
	 * @param updateTime
	 */
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 获取
	 * @return updatedBy
	 */
	public String getUpdatedBy() {
		return updatedBy;
	}

	/**
	 * 设置
	 * @param updatedBy
	 */
	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	/**
	 * 获取
	 * @return createdBy
	 */
	public String getCreatedBy() {
		return createdBy;
	}

	/**
	 * 设置
	 * @param createdBy
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String toString() {
		return "Question{id = " + id + ", questionCode = " + questionCode + ", course = " + course + ", catalog = " + catalog + ", courseAndCatalogId = " + courseAndCatalogId + ", questionType = " + questionType + ", difficulty = " + difficulty + ", content = " + content + ", remark = " + remark + ", isClassic = " + isClassic + ", createTime = " + createTime + ", updateTime = " + updateTime + ", updatedBy = " + updatedBy + ", createdBy = " + createdBy + "}";
	}

	/**
	 * 获取
	 * @return company
	 */
	public String getCompany() {
		return company;
	}

	/**
	 * 设置
	 * @param company
	 */
	public void setCompany(String company) {
		this.company = company;
	}

	/**
	 * 获取
	 * @return skillPoll
	 */
	public String getSkillPoll() {
		return skillPoll;
	}

	/**
	 * 设置
	 * @param skillPoll
	 */
	public void setSkillPoll(String skillPoll) {
		this.skillPoll = skillPoll;
	}

	/**
	 * 获取
	 * @return position
	 */
	public String getPosition() {
		return position;
	}

	/**
	 * 设置
	 * @param position
	 */
	public void setPosition(String position) {
		this.position = position;
	}
}
